__author__ = 'shawhen'

import ctypes

from . import BaseTsd
from . import WinNT


TRUE = 1
FALSE = 0

UINT = ctypes.c_uint
DWORD = ctypes.c_ulong
MAX_PATH = 260

LONG_PTR = ctypes.c_long

WPARAM = BaseTsd.UINT_PTR
LPARAM = LONG_PTR
LRESULT = LONG_PTR

HWND = ctypes.c_int
HINSTANCE = ctypes.c_int
HICON = ctypes.c_int
HCURSOR = HICON
HBRUSH = ctypes.c_int


class POINT(ctypes.Structure):
    _pack_ = 1
    _fields_ = [
        ("x", WinNT.LONG),
        ("y", WinNT.LONG)
    ]